<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0053)http://dasha.ics.hawaii.edu:8200/news/?ref=nav-button -->
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <!-- Use the chrome frame -->
    <meta http-equiv="X-UA-Compatible" content="chrome=IE8">
    <title>Kukui Cup : News</title>

<link rel="stylesheet" href="./global_css/screen.css">
<link rel="stylesheet" href="./news_files/news.css">
<link rel="stylesheet" href="./global_css/theme.css">

<body>
<div class="container">
<div class="container-top">
<div class="container-bottom">
          
<div id="header">
<div style="margin-top: 10px">
    <div id="header-logout">
       <button id="header-feedback" href="javascript:void(0);">Send Feedback</button>
         <a href="landing.html">Logout</a>
    </div>
              
  <div id="header-logo">
    <a href="home.html"><img src="./news_files/logo.png" title="Home"></a>
  </div>
              
  <div id="header-info">
    <div id="header-avatar">
      <img src="./news_files/default_avatar.png">
  </div>
                
<div id="header-user-info">
  <div id="header-user-username">
    &lt;george&gt;</div>
   
  <div id="user-cycle" style="position: relative; width: 120px; height: 61px; ">
    <div id="header-user-floor-rank3" style="position: absolute; top: 0px; 
         left: 0px; opacity: 1; z-index: 3; ">    
      <div id="header-user-points">
        <h3>88</h3>
        <div id="header-text">points</div>
      </div>
                      
      <div id="header-user-rank">
        <h3>#1</h3>
        <div id="header-text">out of 51 in Ilima-E</div>
      </div>
    </div>
                   
    <div id="header-user-overall-rank4" style="top: 0px; left: 0px; z-index: 1; 
         position: absolute; opacity: 0; display: none; ">
      <div id="header-user-points">
        <h3>88</h3>
        <div id="header-text">points</div>
      </div>
                      
      <div id="header-user-rank">
        <h3>#1</h3>
        <div id="header-text">out of 1013 overall</div>
      </div>
    </div>
  </div>
</div>

<div id="header-floor-info">
  <div id="header-floor-name">
    Ilima: Lounge E</div>
                  
  <div id="floor-cycle" style="position: relative; width: 120px; height: 66px; "> 
    <div id="header-floor-overall-rank3" style="position: absolute; top: 0px; 
         left: 0px; opacity: 1; z-index: 3; ">
      <div id="header-floor-points">
        <h3>1338</h3>
        <div id="header-text">points overall</div>
      </div>
                      
      <div id="header-floor-rank">
        <h3>#1</h3> 
        <div id="header-text">out of 20 in all dorms</div>
      </div>
    </div>

    <div id="header-floor-overall-rank4" style="top: 0px; left: 0px; z-index: 1; 
         position: absolute; opacity: 0; display: none; ">
      <div id="header-floor-energy">
        <h3 id="overall-energy-value"></h3>
        <div id="header-text">kWh used overall</div>
      </div>
                      
      <div id="header-floor-rank">
        <h3 id="overall-energy-rank"></h3> 
        <div id="header-text">out of 20 in all dorms</div>
      </div>
    </div>
  </div>
</div>
                
    <div id="header-floor-image">
      <img src="./news_files/hale.ilima.jpg">
    </div>
  </div>  
              
<div id="header-nav">
  <div class="selected-news">
    <div id="header-nav-links">
    <ul>
      <li><a href="activities.html" class="activities">
        <img src="./news_files/spacer.png">
        <h4>Get Nutz</h4></a></li>
                      
      <li><a href="energy.html" class="energy">
        <img src="./news_files/spacer.png">
        <h4>Go Low</h4></a></li>
                      
      <li><a href="news.html" class="news">
        <img src="./news_files/spacer.png">
        <h4>News</h4></a></li>
                      
      <li><a href="prizes.html" class="prizes">
        <img src="./news_files/spacer.png">
        <h4>Prizes</h4></a></li>
                      
      <li><a href="profile.html" class="profile">
        <img src="./news_files/spacer.png">
        <h4>Profile</h4></a></li>
                      
      <li><a href="help.html" class="help">
        <img src="./news_files/spacer.png">
        <h4>Help</h4></a></li>
    </ul>
    </div>
  </div>
                    
  <div id="header-round-info">
    <h3>Overall</h3>
    <span id="header-round-countdown" class="hasCountdown">(ends in 5 Days, 9 Hours, and 39 Minutes)</span>
  </div>

</div></div>

  <div id="quest-box" style="clear: both">
    <div id="quest-header">
      <h3 id="quest-title">Your Quests</h3>
      <a href="http://dasha.ics.hawaii.edu:8200/profile/?ref=nav-button#" style="float: right">
      <img src="./profile_files/icon-help-sm.png" width="20" align="center" 
        title="Click to get help about this window" 
        onclick="toggleHelp(&#39;widget&#39;, &#39;quests&#39;); return false;"></a>
    </div>
  
      <div style="clear: both"></div>
               
      <ul id="quest-list">
        <li> <a href="javascript:void(0)" id="get-social" class="quest-title ">
          Get social </a></li>
                
        <li> <a href="javascript:void(0)" id="get-fully-committed-badge" class="quest-title ">
          Get the Fully Committed badge </a></li>
                
        <li> <a href="javascript:void(0)" id="check-lounge-energy-use" class="quest-title ">
          Check lounge energy use </a></li>
      </ul>
  </div>
      
      <script type="text/javascript">
      var endDate = new Date("Fri Aug 31 00:00:00 2012");
      var today = new Date();
      // Calculate the number of days in the difference.
      var hourDiff = (endDate - today) / (1000 * 60 * 60);
      if (hourDiff > 24) {
        $("#header-round-countdown").countdown({
          until: endDate,
          tickInterval: 60,
          layout: '(ends in {dn} {dl}, {hn} {hl}, and {mn} {ml})'
        });
      }
      else {
        if (hourDiff < 6) {
          $("#header-round-info").addClass("ending");
        }
        $("#header-round-countdown").countdown({
          until: endDate,
          layout: '(ends in {hn} {hl}, {mn} {ml}, and {sn} {sl})'
        });
      }
    </script>
    
</div>
  
<div class="content">  
    
<div id="news-events-popular-activities">
  <div id="news-events" class="content-box">
    <div id="news-events-title" class="content-box-title">
      Upcoming Events
      <a href="http://dasha.ics.hawaii.edu:8200/news/?ref=nav-button#" style="float: right">
      <img src="./news_files/icon-help-sm.png" width="20" align="center" title="Click to get help about this window" onclick="toggleHelp(&#39;widget&#39;, &#39;upcoming-events&#39;); return false;"></a>
    </div>
    <div id="news-events-content">
      

      <table>
        <thead><tr>
          <th>Event</th>
          <th>Date</th>
          <th>Location</th></tr></thead>
        <tbody>  
        
           <tr><td>No upcoming events</td></tr>
        
        
        
        </tbody>
      </table>
       <p>
       
        </p><form id="event-code-form" action="http://dasha.ics.hawaii.edu:8200/activities/attend_code/" method="POST">
          <div style="display:none"><input type="hidden" name="csrfmiddlewaretoken" value="a24f5c59567f2c177a6fd44ab2ab1de9"></div>
          <div id="event-code">
           <b>Enter Attendance Code:</b>
            <input id="id_response" type="text" name="response" size="12">

            <button id="event-code-submit">
                Submit
            </button>

          </div>
          <br>
          <div id="social_email" style="display: None;">
            Optional Social Bonus Email:  <input id="id_social_email" type="text" name="social_email" value="Email" size="15">
          </div>
  
           <div id="event-code-errors" style="color:red; display:None"></div>
        </form>


    </div>
  </div>
  
  <div id="news-most-popular" class="content-box">
    <div id="news-most-popular-title" class="content-box-title">
      Most Popular
      <a href="http://dasha.ics.hawaii.edu:8200/news/?ref=nav-button#" style="float: right">
      <img src="./news_files/icon-help-sm.png" width="20" align="center" title="Click to get help about this window" onclick="toggleHelp(&#39;widget&#39;, &#39;most-popular&#39;); return false;"></a>
    </div>
    <div id="news-most-popular-content">
      <div id="news-most-popular-tasks" style="position: relative; height: 145px; ">
        



  
    <p style="width: 100%; text-align: center; position: absolute; top: 0px; left: 0px; z-index: 4; opacity: 0; display: none; ">Be the first to sign up for a excursion!</p>
  

  
    <table id="news-popular-commitment-table" style="position: absolute; top: 0px; left: 0px; display: block; width: 400px; height: 46px; z-index: 4; opacity: 0.06300100000000008; ">
      <tbody><tr>
        <th style="width: 80%">Commitment</th>
        <th>Completions</th>
      </tr>
      
      <tr>
        <td><a href="http://dasha.ics.hawaii.edu:8200/activities/commitment/use-stairs/">I will use stairs instead of elevator</a></td>
        <td>1</td>
      </tr>
      
    </tbody></table>
  

  
    <table id="news-popular-event-table" style="position: absolute; z-index: 5; top: 0px; left: 0px; display: block; width: 400px; height: 115px; opacity: 0.9369989999999999; ">
      <tbody><tr>
        <th style="width: 80%">Event</th>
        <th>Sign ups</th>
      </tr>
      
      <tr>
        <td><a href="http://dasha.ics.hawaii.edu:8200/activities/event/round-1-party/">Round 1 Awards Party</a></td>
        <td>1</td>
      </tr>
      
      <tr>
        <td><a href="http://dasha.ics.hawaii.edu:8200/activities/event/swag-game-3/">Play outside the cafe (3)</a></td>
        <td>1</td>
      </tr>
      
      <tr>
        <td><a href="http://dasha.ics.hawaii.edu:8200/activities/event/food-day/">UH Manoa Food Day</a></td>
        <td>1</td>
      </tr>
      
      <tr>
        <td><a href="http://dasha.ics.hawaii.edu:8200/activities/event/low-energy-eating/">Energy Efficient Eating</a></td>
        <td>1</td>
      </tr>
      
    </tbody></table>
  

  
    <table id="news-popular-activity-table" style="top: 0px; left: 0px; z-index: 1; position: absolute; opacity: 0; display: none; ">
      <tbody><tr>
        <th style="width: 80%">Activity</th>
        <th>Completions</th>
      </tr>
      
      <tr>
        <td><a href="http://dasha.ics.hawaii.edu:8200/activities/activity/intro-video/">Watch introduction video</a></td>
        <td>3</td>
      </tr>
      
    </tbody></table>
  



      </div>
      <script type="text/javascript">
        $(document).ready(function() {
          var height = 45; //Minimum height of the box.
          $("#news-most-popular-tasks").children().each(function(index, value) {
            if ($(value).height() > height) {
              height = $(value).height() + 30;
            }
          });

          $("#news-most-popular-tasks").cycle({height: "" + height + "px"});
        })
      </script>
    </div>
  </div>
  
  <div id="news-commitments" class="content-box">
    <div id="news-commitments-title" class="content-box-title">
      My Public Commitments
      <a href="http://dasha.ics.hawaii.edu:8200/news/?ref=nav-button#" style="float: right">
      <img src="./news_files/icon-help-sm.png" width="20" align="center" title="Click to get help about this window" onclick="toggleHelp(&#39;widget&#39;, &#39;my-public-commitments&#39;); return false;"></a>
    </div>
    <div id="news-commitments-content">
      



<table>
  <tbody><tr>
    <th class="commitments-title">Commitment</th>
    <th class="commitments-expire">Expires</th>
  </tr>
  
  <tr>
    <td class="commitments-title"><a href="http://dasha.ics.hawaii.edu:8200/activities/commitment/use-stairs/">I will use stairs instead of elevator</a></td>
    <td class="commitments-expire">Oct. 28, 2011</td>
  </tr>
  
  <tr>
    <td class="commitments-title"><a href="http://dasha.ics.hawaii.edu:8200/activities/commitment/turn-off-lights/">I will turn off the lights when leaving any room</a></td>
    <td class="commitments-expire">Nov. 6, 2011</td>
  </tr>
  
  <tr>
    <td class="commitments-title"><a href="http://dasha.ics.hawaii.edu:8200/activities/commitment/recycle-cans/">I will recycle all beverage containers</a></td>
    <td class="commitments-expire">Nov. 6, 2011</td>
  </tr>
  
</tbody></table>



    </div>
  </div>
</div>

<div id="news-members" class="content-box">
  <div id="news-members-title" class="content-box-title">
    Lounge members
    <a href="http://dasha.ics.hawaii.edu:8200/news/?ref=nav-button#" style="float: right">
    <img src="./news_files/icon-help-sm.png" width="20" align="center" title="Click to get help about this window" onclick="toggleHelp(&#39;widget&#39;, &#39;news-directory&#39;); return false;"></a>
   <br style="clear: both">
  </div>
  <div id="news-members-content">
    <ul id="news-members-list">
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#george">
          <img src="./news_files/default_avatar.png" alt="Photo of &lt;george&gt;" title="Photo of &lt;george&gt;" align="top">
          <div>
            &lt;george&gt;
          </div>
        </a>
      </li>
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-489">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-489" title="Photo of user1-489" align="top">
          <div>
            user1-489
          </div>
        </a>
      </li>
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-469">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-469" title="Photo of user1-469" align="top">
          <div>
            user1-469
          </div>
        </a>
      </li>
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-449">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-449" title="Photo of user1-449" align="top">
          <div>
            user1-449
          </div>
        </a>
      </li>
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-389">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-389" title="Photo of user1-389" align="top">
          <div>
            user1-389
          </div>
        </a>
      </li>
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-409">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-409" title="Photo of user1-409" align="top">
          <div>
            user1-409
          </div>
        </a>
      </li>
      
      <br style="clear: left">
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-429">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-429" title="Photo of user1-429" align="top">
          <div>
            user1-429
          </div>
        </a>
      </li>
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-369">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-369" title="Photo of user1-369" align="top">
          <div>
            user1-369
          </div>
        </a>
      </li>
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-349">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-349" title="Photo of user1-349" align="top">
          <div>
            user1-349
          </div>
        </a>
      </li>
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-329">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-329" title="Photo of user1-329" align="top">
          <div>
            user1-329
          </div>
        </a>
      </li>
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-309">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-309" title="Photo of user1-309" align="top">
          <div>
            user1-309
          </div>
        </a>
      </li>
      
      
      <li>
        <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/#user1-249">
          <img src="./news_files/default_avatar.png" alt="Photo of user1-249" title="Photo of user1-249" align="top">
          <div>
            user1-249
          </div>
        </a>
      </li>
      
      <br style="clear: left">
      
      
    </ul>
    <div style="text-align: center">
      <a href="http://dasha.ics.hawaii.edu:8200/news/floor-members/">View all members</a>
    </div>
  </div>
</div>

<div id="news-wall" class="content-box">
  <div id="news-wall-box">
    <div id="news-wall-title" class="content-box-title">
      News Feed
      <a href="http://dasha.ics.hawaii.edu:8200/news/?ref=nav-button#" style="float: right">
      <img src="./news_files/icon-help-sm.png" width="20" align="center" title="Click to get help about this window" onclick="toggleHelp(&#39;widget&#39;, &#39;news-feed&#39;); return false;"></a>
    </div>
    <div id="news-wall-content">
      <div id="wall-form">
        <form id="news-post-form" action="http://dasha.ics.hawaii.edu:8200/news/post/" method="POST">
          <div style="display:none"><input type="hidden" name="csrfmiddlewaretoken" value="a24f5c59567f2c177a6fd44ab2ab1de9"></div>
          <div id="wall-post-errors"></div>
          <div id="wall-post">
            <textarea id="id_post" rows="10" cols="40" name="post">What's on your mind?</textarea>
          </div>
          <div style="text-align: center">
            <button id="wall-post-submit" style="font-size: 12px; margin-top:1.2em; margin-left:0.5em; margin-right:0.5em; margin-bottom:1.2em;" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-disabled ui-state-disabled ui-button-text-only" role="button" aria-disabled="true" disabled=""><span class="ui-button-text">
                Post
            </span></button>
          </div>
          <!-- <a id="wall-post-submit" href="#">Post</a> -->
        </form>
      </div>
      
      <ul id="wall-posts">
        

  <!-- alt-row -->
  
    

<li>
  <div class="news-system-post alt-row">
    <div class="news-system-text">
      <p><span style="font-weight: bold">&lt;george&gt;</span> is participating in the commitment "I will recycle all beverage containers".</p>
      <div class="news-system-posted">Posted at 11/01 03:53 PM</div>
    </div>
  </div>

  <hr>
</li>
   
  
  

  <!--  -->
  
    

<li>
  <div class="news-system-post ">
    <div class="news-system-text">
      <p><span style="font-weight: bold">&lt;george&gt;</span> is no longer participating in "I will recycle all beverage containers".</p>
      <div class="news-system-posted">Posted at 11/01 03:51 PM</div>
    </div>
  </div>

  <hr>
</li>
   
  
  

  <!-- alt-row -->
  
    

<li>
  <div class="news-system-post alt-row">
    <div class="news-system-text">
      <p><span style="font-weight: bold">&lt;george&gt;</span> is no longer participating in "I will recycle all beverage containers".</p>
      <div class="news-system-posted">Posted at 11/01 03:51 PM</div>
    </div>
  </div>

  <hr>
</li>
   
  
  

  <!--  -->
  
    

<li>
  <div class="news-system-post ">
    <div class="news-system-text">
      <p><span style="font-weight: bold">&lt;george&gt;</span> is participating in the commitment "I will recycle all beverage containers".</p>
      <div class="news-system-posted">Posted at 11/01 03:51 PM</div>
    </div>
  </div>

  <hr>
</li>
   
  
  

  <!-- alt-row -->
  
    

<li>
  <div class="news-system-post alt-row">
    <div class="news-system-text">
      <p><span style="font-weight: bold">&lt;george&gt;</span> is participating in the commitment "I will recycle all beverage containers".</p>
      <div class="news-system-posted">Posted at 11/01 03:51 PM</div>
    </div>
  </div>

  <hr>
</li>
   
  
  

  <!--  -->
  
    

<li>
  <div class="news-system-post ">
    <div class="news-system-text">
      <p><span style="font-weight: bold">&lt;george&gt;</span> is no longer participating in "I will recycle all beverage containers".</p>
      <div class="news-system-posted">Posted at 11/01 03:51 PM</div>
    </div>
  </div>

  <hr>
</li>
   
  
  

  <!-- alt-row -->
  
    

<li>
  <div class="news-system-post alt-row">
    <div class="news-system-text">
      <p><span style="font-weight: bold">&lt;george&gt;</span> is participating in the commitment "I will recycle all beverage containers".</p>
      <div class="news-system-posted">Posted at 11/01 03:50 PM</div>
    </div>
  </div>

  <hr>
</li>
   
  
  

  <!--  -->
  
    

<li>
  <div class="news-system-post ">
    <div class="news-system-text">
      <p><span style="font-weight: bold">&lt;george&gt;</span> is participating in the commitment "I will recycle all beverage containers".</p>
      <div class="news-system-posted">Posted at 11/01 03:50 PM</div>
    </div>
  </div>

  <hr>
</li>
   
  
  

  <!-- alt-row -->
  
    

<li>
  <div class="news-system-post alt-row">
    <div class="news-system-text">
      <p><span style="font-weight: bold">&lt;george&gt;</span> is no longer participating in "I will recycle all beverage containers".</p>
      <div class="news-system-posted">Posted at 11/01 03:50 PM</div>
    </div>
  </div>

  <hr>
</li>
   
  
  

  <!--  -->
  
    

<li>
  <div class="news-system-post ">
    <div class="news-system-text">
      <p><span style="font-weight: bold">&lt;george&gt;</span> is participating in the commitment "I will recycle all beverage containers".</p>
      <div class="news-system-posted">Posted at 11/01 03:50 PM</div>
    </div>
  </div>

  <hr>
</li>
   
  
  
  <li id="view-more-posts">
    <a href="http://dasha.ics.hawaii.edu:8200/news/?ref=nav-button#" onclick="
      $.get(&quot;/news/more_posts/?last_post=10186&quot;, function(data) {
        $(&quot;#view-more-posts&quot;).remove();
        $(&quot;#wall-posts&quot;).append(data.contents);
      });

      return false;">See more</a>
  </li>
  



      </ul>
      
    </div>
  </div>
</div>

  </div>
  
  <div id="footer">
      
  </div>
  
  







<div id="fb-root" class=" fb_reset"><div style="position: absolute; top: -10000px; height: 0px; width: 0px; "></div></div>
<script src="./news_files/all.js"></script>

<script type="text/javascript">
  FB.init({
    appId: '233999643296575', 
    status: true, 
    cookie: true, 
    xfbml: true
  });
  
  // Normally, we would wrap this in an anonymous function, but we want it to be available for later.
  // Get the spreadsheet we need.
  var energyLastThirtyDays = 'https://spreadsheets.google.com/spreadsheet/tq?key=0An9ynmXUoikYdHhxeW1xRURQZUlGd1oxVERnQktsWXc';
  var refreshInterval = 0; // don't refresh this spreadsheet.

  // Load the visualization API and the spreadsheet, then call displayRank.
  var loader = new org.wattdepot.gdata.GDataLoader(displayRank, energyLastThirtyDays, refreshInterval);  

  function displayRank(energyDataTable) {
    // The source for which we want to find the rank must be specified by Makahiki.
    var source = 'Ilima-E';
    var energyRank = new org.wattdepot.gdata.makahiki.EnergyRank();
    
    // Get the usage for the current round and overall.
    
      // console.log('Overall start: 87, end: 67');
      var usage = energyRank.processDataTable(energyDataTable, 87, 67);
      var info = energyRank.calculateRankInfo(usage, source);
      
      // Check if this is overall information.
      
      energyRank.draw("overall-energy-rank", "overall-energy-value", info);
      
      
      
    
      // console.log('Round 2 start: 80, end: 74');
      var usage = energyRank.processDataTable(energyDataTable, 80, 74);
      var info = energyRank.calculateRankInfo(usage, source);
      
      // Check if this is overall information.
      
        // Check if this is info for the current round.
        
      
      
      
    
      // console.log('Round 1 start: 87, end: 81');
      var usage = energyRank.processDataTable(energyDataTable, 87, 81);
      var info = energyRank.calculateRankInfo(usage, source);
      
      // Check if this is overall information.
      
        // Check if this is info for the current round.
        
      
      
      
    
  }
</script><script src="./news_files/saved_resource" type="text/javascript"></script><script src="./news_files/format+en,default.I.js" type="text/javascript"></script>


<script type="text/javascript"> 
$( document ).ready( function ()
 {
    $("#event-code-submit").click(function() {             
            $.post("/activities/attend_code/", $("#event-code-form").serialize(), function(data) {
                if (data.message) {
                  $("#event-code-errors").html(data.message);
                  $("#event-code-errors").show();
                  if (data.social_email) {
                    $("#social_email").show();
                  }
                }
                else {
                  window.location.replace("/activities/"+data.type+"/"+data.slug+"/");
                }
              });
           
            return false;
    });
          
    $("#social_email input").click(function() {
      this.value = "";
    });

 });


</script>  




  </div>
  </div>
</div> 


<div style="display: none; z-index: 1000; outline-width: 0px; outline-style: initial; outline-color: initial; position: absolute; " class="ui-dialog ui-widget ui-widget-content ui-corner-all ui-draggable ui-resizable" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-widget-help-dialog"><div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix"><span class="ui-dialog-title" id="ui-dialog-title-widget-help-dialog">Help</span><a href="http://dasha.ics.hawaii.edu:8200/news/?ref=nav-button#" class="ui-dialog-titlebar-close ui-corner-all" role="button"><span class="ui-icon ui-icon-closethick">close</span></a></div><div id="widget-help-dialog" style="" class="ui-dialog-content ui-widget-content">
</div><div class="ui-resizable-handle ui-resizable-n"></div><div class="ui-resizable-handle ui-resizable-e"></div><div class="ui-resizable-handle ui-resizable-s"></div><div class="ui-resizable-handle ui-resizable-w"></div><div class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se ui-icon-grip-diagonal-se" style="z-index: 1001; "></div><div class="ui-resizable-handle ui-resizable-sw" style="z-index: 1002; "></div><div class="ui-resizable-handle ui-resizable-ne" style="z-index: 1003; "></div><div class="ui-resizable-handle ui-resizable-nw" style="z-index: 1004; "></div></div><div style="display: none; z-index: 1000; outline-width: 0px; outline-style: initial; outline-color: initial; position: absolute; " class="ui-dialog ui-widget ui-widget-content ui-corner-all ui-draggable ui-resizable" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-feedback-dialog"><div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix"><span class="ui-dialog-title" id="ui-dialog-title-feedback-dialog">Send Feedback</span><a href="http://dasha.ics.hawaii.edu:8200/news/?ref=nav-button#" class="ui-dialog-titlebar-close ui-corner-all" role="button"><span class="ui-icon ui-icon-closethick">close</span></a></div><div id="feedback-dialog" style="" class="ui-dialog-content ui-widget-content">
  <form id="feedback-form" action="http://dasha.ics.hawaii.edu:8200/ask-admin/send-feedback/" method="POST">
    <div style="display:none"><input type="hidden" name="csrfmiddlewaretoken" value="a24f5c59567f2c177a6fd44ab2ab1de9"></div>
    <p>Having issues?  Just want to tell us something?  Let us know!</p>
    <input id="id_url" type="hidden" name="url" value="">
    <textarea id="id_question" rows="3" cols="53" name="question"></textarea><br>
    <input id="feedback-submit" type="submit" value="Send" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-disabled ui-state-disabled" role="button" aria-disabled="true" disabled="">
    <span id="feedback-spinner" style="display:none">
      Sending
      <img src="./news_files/spinner.gif">
    </span>
  </form>
</div><div class="ui-resizable-handle ui-resizable-n"></div><div class="ui-resizable-handle ui-resizable-e"></div><div class="ui-resizable-handle ui-resizable-s"></div><div class="ui-resizable-handle ui-resizable-w"></div><div class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se ui-icon-grip-diagonal-se" style="z-index: 1001; "></div><div class="ui-resizable-handle ui-resizable-sw" style="z-index: 1002; "></div><div class="ui-resizable-handle ui-resizable-ne" style="z-index: 1003; "></div><div class="ui-resizable-handle ui-resizable-nw" style="z-index: 1004; "></div></div><div style="display: none; z-index: 1000; outline-width: 0px; outline-style: initial; outline-color: initial; position: absolute; " class="ui-dialog ui-widget ui-widget-content ui-corner-all ui-draggable ui-resizable" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-feedback-success"><div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix"><span class="ui-dialog-title" id="ui-dialog-title-feedback-success">Thank You!</span><a href="http://dasha.ics.hawaii.edu:8200/news/?ref=nav-button#" class="ui-dialog-titlebar-close ui-corner-all" role="button"><span class="ui-icon ui-icon-closethick">close</span></a></div><div id="feedback-success" style="" class="ui-dialog-content ui-widget-content">
  <p style="text-align: left">
    Your feedback has been sent to the administrators.  If you asked a question, they will email
    you a response as soon as possible.
  </p>
  
  <button>OK</button>
</div><div class="ui-resizable-handle ui-resizable-n"></div><div class="ui-resizable-handle ui-resizable-e"></div><div class="ui-resizable-handle ui-resizable-s"></div><div class="ui-resizable-handle ui-resizable-w"></div><div class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se ui-icon-grip-diagonal-se" style="z-index: 1001; "></div><div class="ui-resizable-handle ui-resizable-sw" style="z-index: 1002; "></div><div class="ui-resizable-handle ui-resizable-ne" style="z-index: 1003; "></div><div class="ui-resizable-handle ui-resizable-nw" style="z-index: 1004; "></div></div><div id="media_floatingBar" style="position: absolute; left: 1001px; top: 14px; "><a id="001" title="View Original Image" style="background-image: url(chrome-extension://fjccknnhdnkbanjilpjddjhmkghmachn/images/floating_bar_orl.png); "></a><a id="002" title="Magnifier" style="background-image: url(chrome-extension://fjccknnhdnkbanjilpjddjhmkghmachn/images/floating_bar_zoom.png); "></a></div></body></html>